﻿.mud-avatar-filled {
    background-color: #505050;
}

.bg-white{
    background:#fff
}
.header_menu {
    background: #fff;
    padding: 0px 30px 0px 30px;
}

    .header_menu .mud-button-label{
         font-size:0.8rem
    }

    .header_menu .mud-paper {
        align-content: center;
        text-align: center;
    }

        .header_menu .mud-paper a, .header_menu .mud-paper button {
            color: #505050 !important;
            font-weight: 600;
        }


        .header_menu .mud-paper .mud-menu-activator {
            color: #505050 !important;
            font-weight: 600;
        }

    .header_menu ._logo {
        background-image: url(../images/MAE_logo_grey_long.png) !important;
        background-size: contain; /* scales image to cover the div */
        background-position: center 0px; /* centers the image */
        background-repeat: no-repeat; /* prevents tiling */
        width: 200px; /* set width */
        height: 100px; /* set height */
    }




.Header_top {
    width: 100%;
    border-radius: 10px !important;
    background: #E0DFDC;
    padding: 8px 0;
    font-size: 12px;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 主体内容居中 */
    position: relative;
    height: 30px;
}

.header-text {
    flex: 1; /* 占满剩余空间 */
    text-align: center; /* 文本居中 */
}



.cart-right {
    position: absolute;
    right: 30px; /* 固定在右边 */
    top: 0px;
}

.login-left {
    position: absolute;
    left: 20px;  
    top:-10px;
    display: flex;
    align-items: center;
    
}
.title_name_label{
    background:#b4a9da;
    margin-bottom:20px;
    padding:10px 20px; 
    color:#fff;

}
.Cart-Icons {
    font-size: .675rem;
    font-weight: 200;
    color: #505050 !important;
    height: 26px;
}
    .Cart-Icons p {
        font-size: .6rem;
        font-weight: 400;
        color: #000 !important;
        text-transform: uppercase;
    }

    .Cart-Icons svg {
        font-size: 1.2rem;
        transform: translate(3px, 5px) scale(0.75);
    }
.cart-right a {
    display: inline-flex;
}
    .cart-right a p {
        font-weight: 200;
        margin-top: 10px;
        font-size: .675rem;
    }
.cart-right a svg {
    margin-top: 7px;
    font-size: 1rem;
    padding-right:2px
}
    .Cart-Icons-Bag svg {
        color: #505050 !important;
    }
._Currencies {
    width: auto;
    font-size: .6rem;
    padding-top: 0px;
}

    ._Currencies .mud-select{
        height:auto;
        top:0px;
    }
    ._Currencies .mud-input {
        width: 80px;
        font-size: .6rem;
        line-height: .6rem;
        height: 35px;
        color: #000; 
    }
    ._Currencies .mud-input span {
        display:none
    }
    ._Currencies .mud-input-control {
        font-size: .6rem
    }
    ._Currencies .mud-input.mud-input-outlined .mud-input-outlined-border {
        border: none;
    }
    ._Currencies .mud-input.mud-input-outlined > ._Currencies .mud-input-outlined-border legend {
    }
    ._Currencies .mud-input.mud-input-outlined.mud-input-adorned-end {
        padding: 0;
        padding-inline-end:0
    }
    ._Currencies .mud-input-adornment-end {
        margin-top: 4px !important;
    }
    ._Currencies .mud-icon-size-medium {
        font-size: 1.1rem
    }

    ._Currencies .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
    ._Currencies .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
        transform: translate(35px,5px) scale(0.75);
        font-size: .5rem;
        font-weight: 500;
    }
    ._Currencies .mud-input > input.mud-input-root.mud-input-root-margin-dense, ._Currencies div.mud-input-slot.mud-input-root.mud-input-root-margin-dense {
        padding-top: 3px;
        text-overflow: unset;
    }
._CurrenciesSelect {
    padding: 5px;
}
    ._CurrenciesSelect .mud-list-item-text {

    }
    ._CurrenciesSelect .mud-typography-body1 {
        font-size: .5rem !important;
        font-weight: 400;
        color: #000;
        width: 100px;
    }
    ._CurrenciesSelect .mud-typography-body1 span {
        font-size: .4rem !important;
        font-weight: 300;
        color: #000;

    }

/**CART BOX*/
.cart_box {
    width: 30%;
}
    .cart_box ._close img {
      width:5%
   
    }
    .cart_box .item-list {
        margin: 15px 0;
    }
        .cart_box .item-list .product-img {
            width: 80px;
            height: 80px;
            object-fit: cover !important; /* 自动裁剪填满容器 */
            object-position: center !important;

        }

.subItem-list {
    font-size: 0.5rem;
/*    background: #f6f3ff;*/
}
.cart_box .mud-chip.mud-chip-size-small {
    font-size: 0.5rem;
    margin: 0;
    height:10px;
    float:right;
}

.bw-100 {
    width: 100%;

}
.br-0 {
    border-radius: 0;
}
.cartbox-wrapper {
    display: flex;
    flex-direction: column;
}

.cartbox-content {
    flex: 1; /* 主体内容占满剩余空间 */
}

.cartbox-footer {
    background: #E0DFDC;
    padding:20px 0;
    border-radius:0
}

.product-img-small {
    width: 100px;
    height: 100px;
    object-fit: cover !important;
    object-position: center !important;
}
.w-full{
    width:100%;
}

.xs_totalItems .mud-theme-dark {
    font-size: 0.8rem !important;
    padding: 0px;
    height: 15px;
    min-width: 15px;
    border-radius: 15px;
    background: #3c3c3c !important;
/*    color: #000 !important;
    font-weight: 900 !important;
    background: transparent !important;*/
}
/*.xs_totalItems .mud-badge.mud-badge-top.right.mud-badge-overlap {
    inset: auto auto calc(100% - 20px) calc(100% - 18px) !important;
}*/

.scroll-to-top-show-button {
    position: fixed;
    bottom: 80px;
    right: 40px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.scroll-to-top-hide-button {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.title_name_label_show {
    background: #b4a9da;
    margin-bottom: 20px;
    padding: 10px 10px;
    color: #fff;
    border-radius:0;
    width:100%;
    text-align:left
}
    .title_name_label_show span{
      font-size:.9rem;
      font-weight:400
    }

.datatable .mud-table-cell {
    font-size: .75rem;
    line-height: 1.2 !important
}
.TabBox {
    background: #f3f3f3;
    padding: 10px 15px 15px 15px;
}
.datatable.mud-data-grid thead tr:last-of-type .mud-table-cell {
    border-bottom: 3px #f3f3f3 solid;
}
.TableList .mud-table-root {
    border-top: 1px #ccc solid;
    border-bottom: none;
}

.datatable.mud-data-grid .mud-table-cell .column-header .sortable-column-header {
    font-size: .6rem;
    font-weight: 500;
    color: #000
}

.datatable.mud-data-grid thead .mud-table-cell {
 /*   border-right: 1px #ccc solid;*/
}
.datatable.mud-data-grid .mud-table-cell.filter-header-cell {
    padding: 6px 10px 6px 10px;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
}

.datatable .mud-input-adorned-start {
    margin:0 ;
    padding:0;
}
.datatable .mud-icon-size-small {
    font-size:1rem;
}
.datatable.mud-table-dense * .mud-table-row .mud-table-cell:last-of-type {
    border-right: none;
}
.datatable .mud-input > input.mud-input-root, .datatable div.mud-input-slot.mud-input-root::placeholder {
    font-size: .7rem;
    color: #000;
    padding: 6px 5px 3px 5px;
}
.datatable .mud-input.mud-input-filled.mud-input-underline:after {
    border: 1px solid #000
}
.datatable .mud-input > input.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense,
.datatable div.mud-input-slot.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense {
    padding: 2px;

}
.datatable .mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: .7rem;
    transform: translate(6px, 5px) scale(1);
    color:#505050;
    font-weight:300;
}
.datatable .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol,
.datatable .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
    font-size: .7rem;
    transform: translate(0px, -5px) scale(0.75);
    transform-origin: top left;
}
/*.datatable .mud-input > input.mud-input-root.mud-input-root-margin-dense, .datatable div.mud-input-slot.mud-input-root.mud-input-root-margin-dense {
    padding-top: 18px;
    padding-left: 17px;
    padding-bottom: 3px;
    border-bottom:1px #505050 Solid
}*/
/*.datatable .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol:before, .datatable .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol:before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";*/
/*    background: #505050;*/
/*padding: 1px  5px;
    font-size: .9rem;
    color: #505050;
    margin-right: 0px;
    font-weight: 800;
}*/
/*.datatable .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol, .datatable .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
    font-size: .9rem;
    color: #000;
    font-weight: 500;*/
/*    border-bottom: 1px solid #505050;*/
/*width: 100%
}

.datatable .mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    font-size: .8rem
}
.datatable .mud-input > input.mud-input-root-outlined, .mud-table div.mud-input-slot.mud-input-root-outlined {
    padding: 8px 6px;
}*/

.mud-toolbar{
    /*background:#fff*/
}
.listSearch .mud-input.mud-input-outlined .mud-input-outlined-border {
    border:1px #fff solid;
    border-radius:0;

}
.listSearch.mud-input-control > .mud-input-control-input-container{
    background:#fff
}
.TableList {
    background: #f3f3f3;
    position: relative;
}
.TableList .mud-table-pagination {
    position: absolute;
    top: 0px;
    right: 0px;
}
.TableList .mud-pagination {
    justify-content: end;
    width: 100%;
}
@media (max-width: 1024px) {
}
    @media (max-width: 768px) {
        .scroll-to-top-show-button {
            position: fixed;
            bottom: 100px;
            right: 20px;
            opacity: 1;
            transition: opacity 0.3s ease-in-out;
            z-index: 1000;
        }
            .scroll-to-top-show-button .mud-fab-size-large {
                width: 36px;
                height: 36px;
            }
    }
    @media (max-width: 600px) {
        /**CART BOX*/
        .cart_box {
            width: 91%;

        }
        .pytmode {
            border-color: rgba(0, 0, 0, 0.11764705882352941);
            border-radius:0;
        }
            .pytmode._AP {
                border-bottom: none;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
            }
        .pytmode._AT {
            border-top: none;
        }
            .pytmode._COD {
                border-bottom-left-radius: 5px;
                border-bottom-right-radius: 5px;
            }
            .pytmode.selected-pytmode {
                border: 1px solid #7e57c2;
            }
/*        .mud-paper,
        .mud-typography-subtitle1 {
            font-size: 0.8rem !important;
        }
        .mud-typography-subtitle2 {
            font-size: 0.8rem !important;
        }
        .mud-typography-h6 {
            font-size: 0.9rem !important;
        }
        .mud-typography-caption {
            font-size: 0.6rem !important;
            line-height:.6 !important;
        }*/

        .mt-0{
           padding-top: 0 !important;
        }
    }

@media (max-width: 480px) {
    .mobile-topmenu {
        background: #fff;
/*        border-bottom: 1px solid #b4a9da;*/
    }
}



.p-none{
    padding:0;

        
}
.mobile-btn{
    width:100%
}

.mud-table-pagination-toolbar {
    margin:0px 10px;
}
.mud-table-pagination-toolbar p.mud-table-pagination-caption:first-of-type,
.mud-table-pagination-toolbar .mud-select {
    display: none
}
    .mud-table-pagination-toolbar .mud-icon-button {
        padding: 1px;
        border-radius: 0;
    }
.mud-table-pagination-toolbar .mud-icon-button-label {
    padding: 1px;
    border-radius:2px;
    background: #b4a9da4c;
    color: #505050
}
.datatable .mud-button-root:disabled .mud-icon-button-label {
    color: #E0DFDC;
    background: #ccc;
}
.mud-table-pagination-toolbar p.mud-table-pagination-caption:last-of-type:after {
    content: " Records ";
    padding-left:5px;
    font-size:.7rem
       
}
.mud-table-cell .column-header .column-options .sort-direction-icon {
    font-family: "Material Icons"; /* 或者你喜欢的 icon 字体 */
    content: "arrow_upward"; /* 自定义图标 */
    opacity: 1 !important; /* 保证始终可见 */
}


.text-center{
    text-align:center
}
.text-white{
    color:#fff
}

.dot_txt:before {
    content: "·";
    width: 5px;
    padding-right: 3px;
}

.dot_txt1:before {
    content: "•";
    width: 5px;
    padding-right: 3px;
}

.tt{
    background:#d3d7da
}

/*.mud-appbar{
    background:#fff
}*/